using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
[Serializable]
public class Playerlll
{
    public string name;
    public bool yingyang;
    public string shengchengbazi;
    public int[] shuxing;
    public int[] wuxing;

}
public enum TypeOfShuxing
{
    LK, IQ, HEAL, MNY, FAM, HAP, AGE

}

public enum TypeOfWuxing
{
    jing,mu,shui,huo,tu

}

[CreateAssetMenu]
public class PlayerShuXing :ScriptableObject
{
    public Playerlll player;

    public void addShuxing(TypeOfShuxing ofShuxing,int zhi)
    {
        player.shuxing[(int)ofShuxing] += zhi;
    }
    public void addwuxing(TypeOfWuxing ofShuxing, int zhi)
    {
        player.wuxing[(int)ofShuxing] += zhi;
    }
    
}
